/* pages/detail/detail.wxss */
.sw_img{
    image{
        width: 100%;
        height: 100%;
    }
}
.sw_all{
    height:600rpx;
}

.info{
    height: 260rpx;
    background: #fefefe;
    display: flex;
    flex-direction: column;
    // padding: 50rpx 0;
    align-items: center;
    justify-content: center;
    margin-bottom: 25rpx;
    .info_title{
        font-size: 36rpx;
        font-weight: bold;
    }
    .info_price{
        width: 138rpx;
        height: 56rpx;
        background: #f44b42;
        color: #fff;
        font-size: 26rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20rpx 0;
    }
    .info_con{
        font-size: 26rpx;
        color: #9b9b9b;
    }
}


.header{
    width: auto;
    height:87rpx;
    display: flex;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    background: #fefefe;
}
.header view{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 29rpx;
}
.header view text{
    height: 100%;
    display: flex;
    align-items: center;
}
.active{
    border-bottom: 2px solid black;
}


.footer{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90rpx;
    background: #f5f5f5;
    .left{
        float: left;
        width: 50%;
        height: 90rpx;
        border-top: 2rpx solid #dddddd;
        .foo_img{
            width: 120rpx;
            height: 90rpx;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            font-size: 23rpx;
            border-right: 1px solid #dfdfdf;
            float: left;
            width: 32%;
            image{
                width: 33rpx;
                height: 33rpx;
                margin-bottom: 10rpx;
            }
        }
        
    }
    .foo_img:last-child{
        border-right: none;
        text-align: center;
        padding-left: 5rpx;
    }
    .right{
        float: left;
        width: 50%;
        height: 90rpx;
        font-size: 26rpx;
        text-align: center;
        line-height: 90rpx;
        
    }
    .foo_black{
        float: left;
        width: 50%;
        background: #3d3b49;
        color: #fff;
        height: 90rpx;
    }
    .foo_red{
        float: left;
        width: 50%;
        height: 90rpx;
        background: #fe4445;
        color: #fff;
    }
}

.goods_img{
    margin: 20rpx 0;
    image{
        width: 100%;
    }
}

.goods_care{
    background: #fefefe;
    height: 164rpx;
    display: flex;
    flex-direction: column;
    padding: 38rpx 42rpx;
    font-size: 26rpx;
    border-bottom: 2px solid #f1f1f1;
    .goods_care_title{
        font-size: 28rpx;
        font-weight: bold;
        margin-bottom:10rpx;
        display: flex;
        align-items: center;
    }
    .goods_care_con{
        line-height: 50rpx;
    }
    image{
        width: 39rpx;
        height: 39rpx;
        display: block;
        margin-right: 8rpx;
    }
}
.goods_phone{
    background: #fefefe;
    height: 130rpx;
    display: flex;
    flex-direction: column;
    padding: 38rpx 42rpx;
    font-size: 26rpx;
    border-bottom: 2px solid #f1f1f1;
}

.goods_argument{
    height: 68rpx;
    background: #fefefe;
    border-bottom: 2px solid #f1f1f1;
    display: flex;
    line-height: 68rpx; 
    font-size: 26rpx;
    padding-left: 45rpx;
    color: #4e4e4e;
}



//去购物车
.goCar{
    .gocar_top{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        opacity: 0.5;
        background: #221006;
    }
    .gocar_bot{
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: #ffffff;
        opacity: 1;
        display: flex;
        flex-direction: column;
        .gocar_bot_top{
            height: 175rpx;
            display: flex;
            padding: 15rpx 17rpx;
            border-bottom: 2px solid #e2e2e2;
            .gocar_bot_top_main{
                width: 100%;
                height: 105rpx;
                position: relative;
                display: flex;
                .i_img{
                    width: 36rpx;
                    height: 36rpx;
                    position: absolute;
                    top: 0;
                    right: 0;
                }
            }
            .gocar_bot_img{
                image{
                    width: 120rpx;
                    height: 105rpx;
                    display: block;
                }
            }

            .gocar_bot_top_con{
                display: flex;
                flex-direction: column;
                justify-content: flex-end;
                font-size: 26rpx;
                margin-left: 30rpx;
                text{
                    font-size: 24rpx;
                    color: #eb4400;
                    font-weight: bold;
                }
            }
        }
        .gocar_bot_con{ 
            flex: 1;
            padding: 18rpx;
            .gocar_bot_con_con{
                width: 100%;
                height: 64rpx;
                display: flex;
                .gocar_bot_font{
                    flex: 1;
                    font-size: 27rpx;
                    font-weight: 500;
                }
                .gocar_bot_btn{
                    width: 200rpx;
                    display: flex;
                    font-size: 24rpx;
                    text{
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        width: 64rpx;
                        height: 64rpx;
                        background: #e5e5e5;
                        margin-right: 4rpx;
                    }
                }
            }
        }
        .gocar_bot_sub{
            height: 85rpx;
            display: flex;
            width: 100%;
            .gocar_bot_sumPrice{
                flex: 1;
                display: flex;
                align-items: center;
                font-size: 26rpx;
            }
            .gocar_bot_account{
                width: 250rpx;
                background: #ff4546;
                display: flex;
                justify-content: center;
                align-items: center;
                color: #fff;
                font-size: 27rpx;
            }
        }
    }
}